@import url(../pubiic/style.css);
@import url(../pubiic/common.css);
@import url(../pubiic/flex_layout.css);
@import url(../../font/iconfont.css);
@import url(../pubiic/theme-switch.css);
@import url(../pubiic/style.css);
@import url(index-media.css);

/* 主页banner开始 */
#banner .content {
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    height: 88vh;
}

/* --------------------轮播---------------------- */
#banner .movie-advert .myvid {
    display: block;
}

#banner .movie-info-wrap .info {
    display: block;
}

#banner .banner-poster .poster:hover img {
    filter: grayscale(0);
}

#banner .banner-poster .poster:hover span {
    font-weight: bold;
    color: #ff3d5e;
}

/* 海报被选中触发这个类 */
#banner .banner-poster .poster img,
#banner .banner-poster .poster span {
    font-weight: bold;
    filter: grayscale(0);
}

/* --------------------------------------------- */
#banner .movie-advert {
    position: relative;
    width: 100%;
    height: 100%;
}

#banner .movie-advert video {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* banner信息 */
#banner .movie-info-wrap {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 5vw;
    left: 10%;
    z-index: 100;
    justify-content: center;
}

#banner .movie-info-wrap li {
    display: none;
    max-width: 297px;
    width: 100%;
    height: 100%;
}

#banner .movie-info-wrap .item-box {
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
}

#banner .movie-info-wrap .banner-title {
    width: 20vw;
    height: 8vw;
    margin-bottom: 2vw;
    object-fit: cover;
}

#banner .movie-info-wrap .item-box span {
    font-size: min(1.2vw, 1.4rem);
    color: #fff;
    margin-bottom: min(1vw, 1.4rem);
}

#banner .movie-info-wrap .button {
    display: flex;
    align-items: center;
}

#banner .movie-info-wrap .button a {
    padding: 1.2vw 1.8vw;
    margin-right: min(1vw, .8rem);
    border-radius: 50px;
    background: linear-gradient(to right, #ff711f 0%, #e50914 100%);
    box-shadow: 0 min(.5vw, 8px) 0#dd942e;
    color: #fff;
    font-size: min(2vw, 5rem);
    transition: all .1s ease-out;
}

#banner .movie-info-wrap .button a:hover {
    box-shadow: 0 min(.5vw, 8px) 0 #dc8000;
    transform: translateY(1px);
}

#banner .movie-info-wrap .button a:hover:active {
    box-shadow: 0 min(.1vw, 8px) 0 #db8000;
    transform: translateY(6px);
}

#banner .movie-info-wrap .button .sound-btn span {
    margin-top: 1rem;
    font-size: 2vw;
    cursor: pointer;
}

/* 
#banner .movie-info-wrap .button .sound-btn span {
    display: none;
} */

/* banner海报 */
#banner .banner-poster {
    display: flex;
    overflow: hidden;
    position: absolute;
    bottom: 1.8vw;
    right: 5vw;
    z-index: 52;
    width: min(40%, 500px);
}

#banner .banner-poster a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: min(2%, 1rem);
    max-width: calc(4.16667 * 6%);
}

#banner .banner-poster a img {
    width: 100%;
    height: 80%;
    margin-bottom: .8vw;
    border-radius: .5vw;
    filter: grayscale(1);
    object-fit: cover;
}

#banner .banner-poster a span {
    width: 100%;
    text-align: center;
    overflow-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1vw;
}

/* banner阴影 */
#banner .shade-left,
#banner .shade-right,
#banner .shade-bottom {
    position: absolute;
    z-index: 51;
}

#banner .shade-left {
    top: 0;
    left: 0;
    width: 15%;
    height: 100%;
    background: linear-gradient(to left, transparent 20%, var(--back-color));
}

#banner .shade-right {
    top: 0;
    right: 0;
    width: 15%;
    height: 100%;
    background: linear-gradient(to right, transparent 20%, var(--back-color));
    transform: translateX(3px);
}

#banner .shade-bottom {
    bottom: 0;
    width: 100%;
    height: 15%;
    background: linear-gradient(to bottom, transparent, var(--back-color));
}

/* 主页banner结束 */
/* 主页main开始 */
main #movie-content {
    /* 创建一个8等份的栅格布局 */
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    column-gap: 20px;
    margin-bottom: 3rem;
}

/* 用栅格布局分主体内容和侧分栏 */
main #movie-content .article {
    /* 主体内容占5份 */
    grid-column: span 5;
}

main #movie-content .asidebar {
    /* 侧分栏占3份 */
    grid-column: span 3;
}

/* 电影列表模块Start */
/* 给每个电影模块加顶部边距 */
main #movie-content .article .hot-panel,
main #movie-content .article .soon-panel,
main #movie-content .article .classic-panel {
    margin-top: 3.6rem;
}

/* 电影模块标题 */
main #movie-content .article .panel-header {
    display: flex;
    align-items: flex-end;
}

main #movie-content .article .panel-header .panel-title {
    position: relative;
    font-size: 1.8rem;
    font-weight: 700;
}

/* 电影模块标题渐变字设置大小 */
main #movie-content .article .panel-header .panel-title .panel-title-en {
    font-weight: 900;
    font-size: 2.8rem;
}

main #movie-content .article .panel-header .panel-more {
    margin-left: auto;
    /* margin-right: .8rem; */
    font-size: .9rem;
}

main #movie-content .article .panel-header .panel-more a {
    padding-left: .8rem;
}

main #movie-content .article .panel-header .panel-more a:hover {
    color: #ff3d5e;
}

/* 电影模块内容 */
main #movie-content .article .panel-content {
    margin-top: 2rem;
}

/* 电影列表 */
main #movie-content .article .panel-content .movie-list {
    flex-wrap: wrap;
}

main #movie-content .article .panel-content .movie-list dd {
    display: flex;
    justify-content: center;
}

/* 电影项 */
main #movie-content .article .panel-content .movie-list .movie-item {
    justify-content: center;
    width: 100%;
    padding: 0 7%;
    padding-bottom: 12%;
}

/* 电影海报 */
main #movie-content .article .panel-content .movie-list .movie-item .movie-poster {
    position: relative;
    overflow: hidden;
    height: 0;
    padding-top: 140%;
    border-radius: 8px;
    background-size: cover;
}

main #movie-content .article .panel-content .movie-list .movie-item .movie-poster:hover .movie-content {
    z-index: 50;
}

main #movie-content .article .panel-content .movie-list .movie-item .movie-poster .movie-poster-img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 电影标题 */
main #movie-content .article .panel-content .movie-list .movie-item .movie-poster .movie-title {
    overflow: hidden;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 1) 100%);
    padding: 50px 8px 12px;
    padding-right: 2.15rem;
    /* pointer-events: none; */
    font-size: .8rem;
    color: #fff;
    font-weight: 500;
    text-overflow: ellipsis;
}

main #movie-content .article .soon-panel .panel-content .movie-list .movie-item .movie-poster .movie-title {
    right: 0;
    padding: 50px 8px 12px;
    text-align: center;
}

/* 电影评分 */
main #movie-content .article .panel-content .movie-list .movie-item .movie-poster .movie-score {
    display: inline-block;
    position: absolute;
    right: 0;
    bottom: 0;
    padding-bottom: 10px;
    margin-right: 6px;
    background-image: linear-gradient(to right, #ff711f 0%, #e50914 100%);
    -webkit-background-clip: text;
    color: transparent;
}

/* 评分整数 */
main #movie-content .article .panel-content .movie-list .movie-item .movie-poster .movie-title .integer {
    font-size: 1.15rem;
    font-weight: 550;
}

/* 评分小数 */
main #movie-content .article .panel-content .movie-list .movie-item .movie-poster .movie-title .fraction {
    margin-left: -3px;
    font-weight: 680;
    font-size: .85rem;
}

/* 正在热映细节 */
main #movie-content .article .panel-content .movie-list .movie-detail {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    font-weight: bold;
    cursor: pointer;
}

main #movie-content .article .panel-content .movie-list .movie-detail:hover a {
    color: #ff3d5e;
    z-index: 1;
}

main #movie-content .article .panel-content .movie-list .movie-detail:hover .film-icon {
    display: block;
}

/* 电影票字体图标渐变 */
main #movie-content .article .panel-content .movie-list .movie-detail .film-icon {
    display: none;
    position: absolute;
    z-index: -1;
    font-size: 3rem;
    /* 字体渐变 */
    background: -webkit-linear-gradient(90deg, #e50914, transparent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: .3;
    transform: scale(1.3, 1) rotate(155deg);
}

/* 即将上映 */
/* 电影内容 */
main #movie-content .article .panel-content .movie-list .movie-item .movie-poster .movie-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    padding: .5rem;
    color: var(--back-color);
    background-color: var(--font-color);
}

main #movie-content .article .panel-content .movie-list .movie-item .movie-poster .movie-content h1 {
    overflow: hidden;
    margin-bottom: .4rem;
    font-size: 1.5rem;
    font-weight: 550;
    text-overflow: ellipsis;
}

main #movie-content .article .panel-content .movie-list .movie-item .movie-poster .movie-content h1:hover {
    color: #ff3d5e;
}

main #movie-content .article .panel-content .movie-list .movie-item .movie-poster .movie-content .soon-time,
main #movie-content .article .panel-content .movie-list .movie-item .movie-poster .movie-content .thinkSee,
main #movie-content .article .panel-content .movie-list .movie-item .movie-poster .movie-content .introduce {
    overflow: hidden;
    margin-top: 7px;
    padding-left: .1rem;
    text-overflow: ellipsis;
    font-size: .8rem;
    color: #777;
}

main #movie-content .article .panel-content .movie-list .movie-item .movie-poster .movie-content .thinkSee {
    color: #ffb400;
}

main #movie-content .article .panel-content .movie-list .movie-item .movie-poster .movie-content .introduce {
    flex: 1;
    margin-bottom: 2px;
    line-height: normal;
    word-wrap: break-word;
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

main #movie-content .article .panel-content .movie-list .movie-item .movie-poster .movie-content .btn_link button {
    border: none;
    outline: none;
    padding: .5rem .8rem;
    margin-right: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #ff711f 0%, #e50914 100%);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

main #movie-content .article .panel-content .movie-list .movie-item .movie-poster .movie-content .btn_link a {
    font-size: .8rem;
}

main #movie-content .article .panel-content .movie-list .movie-item .movie-poster .movie-content .btn_link a:hover {
    color: #ff3d5e;
}

/* 预告片文字特效 */
main #movie-content .article .panel-content .movie-list .movie-detail .trailer-watch {
    display: block;
    text-align: center;
}

main #movie-content .article .panel-content .movie-list .movie-detail:hover {
    color: inherit;
}

main #movie-content .article .panel-content .movie-list .movie-detail .trailer-watch {
    position: relative;
    display: inline-block;
    font-size: 1.1rem;
    font-family: '楷体', serif;
    /* line-height: 1.2; */
}

main #movie-content .article .panel-content .movie-list .movie-detail .trailer-watch::before {
    content: '>>';
}

main #movie-content .article .panel-content .movie-list .movie-detail .trailer-watch::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: .5px;
    background-color: var(--font-color);
    transition: width .5s;
}

main #movie-content .article .panel-content .movie-list .movie-detail:hover .trailer-watch::after {
    width: 0;
    background-color: #ff3d5e;
}

/* 经典影片 */
/* 经典影片鼠标悬停 */
main #movie-content .article .panel-content .movie-list .movie-item .movie-poster:hover .movie-playPad {
    z-index: 10;
}

main #movie-content .article .panel-content .movie-list .movie-item .movie-poster:hover:active .movie-playPad {
    color: #ccc;
}

main #movie-content .article .panel-content .movie-list .movie-item .movie-poster .movie-playPad {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
}

main #movie-content .article .panel-content .movie-list .movie-item .movie-poster .movie-playPad i {
    font-size: 2.8rem;
}

/* 电影列表模块End */
/* 排行榜列表模块Start */
main #movie-content .asidebar {
    margin-top: 3.5rem;
    padding-left: 3.5rem;
    padding-right: .5rem;
}

main #movie-content .asidebar .today-TickHouse,
main #movie-content .asidebar .hot-News,
main #movie-content .asidebar .highScore-movie {
    margin-bottom: 5rem;
}

main #movie-content .asidebar .rank-lists .ranking-box .ranking-link {
    height: 2rem;
    line-height: 2rem;
    box-sizing: content-box;
}

main #movie-content .asidebar .rank-lists .ranking-box .ranking-item .rangking-index {
    font-size: 1.35rem;
    font-style: italic;
}

main #movie-content .asidebar .rank-lists .ranking-box li:first-child .rangking-index {
    color: #a82e2e;
}

main #movie-content .asidebar .rank-lists .ranking-box li:nth-child(2) .rangking-index {
    color: #f04142
}

main #movie-content .asidebar .rank-lists .ranking-box li:nth-child(3) .rangking-index {
    color: #ff9a03
}

main #movie-content .asidebar .rank-lists .ranking-box li:hover .rangking-name {
    color: #ff3d5e;
}

main #movie-content .asidebar .rank-lists .ranking-box .ranking-item a {
    display: flex;
    align-items: center;
    padding: .8rem 0;
}

main #movie-content .asidebar .rank-lists .ranking-box .ranking-item a .rangking-name {
    overflow: hidden;
    margin-right: auto;
    padding-left: 1rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 排行榜标题 */
main #movie-content .asidebar .rank-list-title {
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: .3rem;
    padding-left: .5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

main #movie-content .asidebar .rank-list-title i {
    margin-right: .2rem;
    background-image: linear-gradient(to right, #ff711f 0%, #e50914 100%);
    -webkit-background-clip: text;
    color: transparent;
    font-size: 2.8rem;
    font-weight: 100;
}

/* 排行榜列表模块End */
/* 主页main结束 */